package cn.audit.service.zqmk;

import cn.audit.bean.pojo.Config;
import cn.audit.repository.zqmk.ConfigRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author: 钟琪
 * @Date: 2019/5/22 17:17
 */
@Service
public class ConfigServiceImpl implements ConfigService {
    @Resource
    private ConfigRepository configRepository;
    @Override
    public List<Config> findAllByConfigCode(String code) {
        return configRepository.findAllByConfigCode(code);
    }
}
